package com.yuanye.recruitCrawler.constant;

/** 
 * @author yuanye 2019年6月1日 下午2:09:35
 */
public class Job51Constant{
	public static final String homePage="https://www.51job.com/";
	
	//城市
	public static final String city="/html/body/div[2]/div[2]/div[1]/div[1]/div[2]/div[1]/a/span";
	//关键词搜索
	public static final String searchInput="//*[@id=\"search_input\"]";
	public static final String searchButton="//*[@id=\"search_button\"]";
	//默认搜索条件
	public static final String java="//*[@id=\"sidebar\"]/div/div[1]/div[1]/div/a[1]";
	
	public static final String positionList="/html/body/div/div/div[2]/div/div/div[2]/div/div[2]/div/div[2]/div[1]/div";
	
	public static final String positionUrl="a";
	public static final String positionName="a/div/span[1]";
	public static final String salary="a/p[1]/span[1]";
	public static final String experience="a/p[1]/span[2]/span[3]";//<span class="d at">上海-浦东新区  |  3-4年经验  |  本科  |  招10人</span>
	//public static final String keyWords="div[1]/a/p[3]/span";
	public static final String attraction="div[1]/a/p[3]/span";
	public static final String companyUrl="div[2]/a";
	public static final String companyName="div[2]/a";
	public static final String industry="div[2]/p[2]";
	//public static final String companyLogo="div[1]/div[3]/a/img";
	public static final String address="a/p[1]/span[2]/span[1]";
	public static final String publishTime="a/div/span[2]";
	
	public static final String totalPage="/html/body/div[2]/div[3]/div/div[2]/div[4]/div[2]/div/div/div/span[1]";
	public static final String companyBrief="/html/body/div[2]/div[3]/div[3]/div[1]/div/div/div[1]/div";
	public static final String license="/html/body/div[2]/div[3]/div[2]/div/p[2]/span";
	public static final String nextPage_a="//*[@class='pager_container']/a";
	public static final String nextPage_span="//*[@class='pager_container']/span";
	
	//岗位详情页面
	public static final String jobDetail="/html/body/div[3]/div[2]/div[3]/div[1]/div";
}